projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6a7a08
)
[broadway] Fixup build
author
Alexander Larsson
<alexl@redhat.com>
Fri, 11 May 2012 12:49:15 +0000
(14:49 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Fri, 11 May 2012 12:49:15 +0000
(14:49 +0200)
Seems the return value of device_query_state was removed, it was
TRUE always anyway.
gdk/broadway/gdkdevice-broadway.c
patch
|
blob
|
history
diff --git
a/gdk/broadway/gdkdevice-broadway.c
b/gdk/broadway/gdkdevice-broadway.c
index df10fa9abbeb836f4dc3da03445c557531b901d9..6af72704f90c6d5f3b2362b59d2fec60640247b6 100644
(file)
--- a/
gdk/broadway/gdkdevice-broadway.c
+++ b/
gdk/broadway/gdkdevice-broadway.c
@@
-383,11
+383,9
@@
gdk_broadway_device_window_at_position (GdkDevice *device,
screen = gdk_screen_get_default ();
root_window = gdk_screen_get_root_window (screen);
- res = gdk_broadway_device_query_state (device, root_window, NULL, &window, NULL, NULL, win_x, win_y, mask);
- if (res)
- return window;
+ gdk_broadway_device_query_state (device, root_window, NULL, &window, NULL, NULL, win_x, win_y, mask);
- return
NULL
;
+ return
window
;
}
static void